package com.learner.course.repository;

import com.learner.pojo.course.dictionary.SysDictionary;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author ice2020x
 * @Description: 查询数据字典
 */
@Repository
public interface DictionaryRepository extends MongoRepository<SysDictionary, String> {

    /**
     * 查询数据字典
     *
     * @param dType dType
     * @return 结果
     */
    SysDictionary findBydType(String dType);
}
